package Classe;

public class Client {
	private String m_prenom;
	private String m_nom;
	private String m_telephone;
	public String getPrenom()
	{
		return m_prenom;		
	}
	public String getNom()
	{
		return m_nom;		
	}
		
	public String getTelephone()
	{
		return m_telephone;		
	}
	
	public Client(String pPrenom,String pNom, String pTelephone)
	{
		m_prenom = pPrenom;
		m_nom = pNom;
		m_telephone = pTelephone;
	}
	public boolean matchInfo(String prenom, String nom, String tel) {
		if (m_prenom.equals(prenom) && m_nom.equals(nom) && m_telephone.equals(tel)) {
			return true;
		}
		return false;
	}
}
